<script setup lang="ts">

import { ref } from 'vue'

const auto_start = ref(true)
const remote_mode = ref(true)
const server_url = ref('http://150.158.107.119:20505/')
</script>

<template>

    <div class="settings">
        <h1>设置</h1>
        <a-form :label-col="{ span: 6 }" :wrapper-col="{ span: 18 }" style="font-weight: 500;font-size: larger;">
            <a-form-item label="开机自启">
                <a-radio-group v-model:value="auto_start">
                    <a-radio-button :value="true">是</a-radio-button>
                    <a-radio-button :value="false">否</a-radio-button>
                </a-radio-group>
            </a-form-item>
            <a-form-item label="远程模式">
                <a-switch v-model:checked="remote_mode"></a-switch>
            </a-form-item>
            <a-form-item label="服务器地址">
                <a-input v-model:value="server_url" style="width: 300px;"></a-input>
            </a-form-item>
        </a-form>
    </div>
</template>